package de.tub.bazinga.object;

public class Color {

	private final int r;
	private final int g;
	private final int b;

	private final int a;

	public Color(int red, int green, int blue, int alpha) {
		r = red;
		g = green;
		b = blue;

		a = alpha;
	}

	public Color(Color other, int alpha) {
		r = other.getR();
		g = other.getG();
		b = other.getB();
		a = alpha;
	}

	public int getR() {
		return r;
	}

	public int getG() {
		return g;
	}

	public int getB() {
		return b;
	}

	public int getA() {
		return a;
	}

}
